import request from '@/utils/request'

export const articleTagTypeList = function(params){
  return request({
    url: '/article_tag_type/list',
    method: 'get',
    params: params,
  })
}

export const articleTagTypeAdd = function(params){
  return request({
    url: '/article_tag_type/add',
    method: 'post',
    data: params,
  })
}


export const articleTagTypeEditGet = function(params){
  return request({
    url: '/article_tag_type/edit',
    method: 'get',
    params: params,
  })
}

export const articleTagTypeEditPost = function(params){
  return request({
    url: '/article_tag_type/edit',
    method: 'post',
    data: params,
  })
}

export const articleTagTypeDel = function(params){
  return request({
    url: '/article_tag_type/del',
    method: 'post',
    data: params,
  })
}


export const tagTypeList = function(params){
  return request({
    url: '/article_tag_type/tag_type',
    method: 'get',
    params: params,
  })
}